<script setup lang="ts">
const main = useMainStore();
</script>

<template>
  <div @click="main.collapse = !main.collapse" class="collapse-top hover">
    <i-ant-design:menu-unfold-outlined v-if="main.collapse" />
    <i-ant-design:menu-fold-outlined v-else />
  </div>
</template>
<style lang="less" scoped>
.top,
.top-mix {
  .collapse-top {
    display: none;
  }
}
</style>
